home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
lib
/
mlib33d.zoo
/
diffh
< prev
next >
Wrap
Text File
|
1993-07-06
|
15KB
|
462 lines
diff -cr /src/mntinc32/PatchLev.h ./PatchLev.h
*** /src/mntinc32/PatchLev.h Fri Jun 4 02:17:42 1993
--- ./PatchLev.h Thu Jun 17 09:25:26 1993
***************
*** 3,6 ****
* directory.
*/
! #define _PatchLevel "32"
--- 3,6 ----
* directory.
*/
! #define _PatchLevel "33"
diff -cr /src/mntinc32/compiler.h ./compiler.h
*** /src/mntinc32/compiler.h Sun Jun 6 06:19:50 1993
--- ./compiler.h Tue Jun 22 03:15:04 1993
***************
*** 80,85 ****
--- 80,86 ----
#define __PTRDIFF_TYPEDEF__ long
#define __WCHAR_TYPEDEF__ char
#define __EXITING void
+ #define __CDECL __stdargs
#ifdef _SHORTINT
# define __MSHORT__
#endif
Only in .: diffh
diff -cr /src/mntinc32/falcon.h ./falcon.h
*** /src/mntinc32/falcon.h Sun May 23 10:39:34 1993
--- ./falcon.h Sat Jun 26 07:24:08 1993
***************
*** 28,34 ****
movw %5,sp@-; \
movw %4,sp@-; \
movw %3,sp@-; \
! movw %2,sp@- " \
movw %1,sp@-; \
trap #14; \
lea sp@(12),sp" \
--- 28,34 ----
movw %5,sp@-; \
movw %4,sp@-; \
movw %3,sp@-; \
! movw %2,sp@-; \
movw %1,sp@-; \
trap #14; \
lea sp@(12),sp" \
***************
*** 69,74 ****
--- 69,128 ----
#endif
#endif
+ #ifndef trap_14_wllll
+ #define trap_14_wllll(n,a,b,c,d) \
+ __extension__ \
+ ({ \
+ register long retvalue __asm__("d0"); \
+ long _a = (long)(a); \
+ long _b = (long)(b); \
+ long _c = (long)(c); \
+ long _d = (long)(d); \
+ \
+ __asm__ volatile \
+ ("\
+ movl %5,sp@-; \
+ movl %4,sp@-; \
+ movl %3,sp@-; \
+ movl %2,sp@-; \
+ movw %1,sp@-; \
+ trap #14; \
+ lea sp@(12),sp" \
+ : "=r"(retvalue) \
+ : "g"(n), "r"(_a), "r"(_b), "r"(_c), "r"(_d) \
+ : "d0", "d1", "d2", "a0", "a1", "a2", "memory"); \
+ retvalue; \
+ })
+ #endif
+
+ #ifndef trap_14_wlllll
+ #define trap_14_wlllll(n,a,b,c,d,e) \
+ __extension__ \
+ ({ \
+ register long retvalue __asm__("d0"); \
+ long _a = (long)(a); \
+ long _b = (long)(b); \
+ long _c = (long)(c); \
+ long _d = (long)(d); \
+ long _e = (long)(e); \
+ \
+ __asm__ volatile \
+ ("\
+ movl %6,sp@-; \
+ movl %5,sp@-; \
+ movl %4,sp@-; \
+ movl %3,sp@-; \
+ movl %2,sp@-; \
+ movw %1,sp@-; \
+ trap #14; \
+ lea sp@(12),sp" \
+ : "=r"(retvalue) \
+ : "g"(n), "r"(_a), "r"(_b), "r"(_c), "r"(_d), "r"(_e) \
+ : "d0", "d1", "d2", "a0", "a1", "a2", "memory"); \
+ retvalue; \
+ })
+ #endif
+
/*
* Video
*/
***************
*** 344,350 ****
#define Dsp_RemoveInterrupts(mask) \
(void)trap_14_ww((short)102,(short)(mask))
#define Dsp_GetWordSize() (long)trap_14_w((short)103)
! #define Dsp_Lock() (long)trap_14_w((short)104)
#define Dsp_Unlock() (void)trap_14_w((short)105)
#define Dsp_Available(xmem,ymem) \
(void)trap_14_wll((short)106,(long)(xmem),(long)(ymem))
--- 398,404 ----
#define Dsp_RemoveInterrupts(mask) \
(void)trap_14_ww((short)102,(short)(mask))
#define Dsp_GetWordSize() (long)trap_14_w((short)103)
! #define Dsp_Lock() (short)trap_14_w((short)104)
#define Dsp_Unlock() (void)trap_14_w((short)105)
#define Dsp_Available(xmem,ymem) \
(void)trap_14_wll((short)106,(long)(xmem),(long)(ymem))
diff -cr /src/mntinc32/mintbind.h ./mintbind.h
*** /src/mntinc32/mintbind.h Tue May 25 12:17:00 1993
--- ./mintbind.h Sat Jun 19 05:13:28 1993
***************
*** 107,113 ****
long _lmsl(int,int,long);
long _lmsp(int,int,void *);
long _lmps(int,void *,int);
! long _lmCs(int,const char *,int);
long _lmpp(int,void *,void *);
long _lmCC(int,const char *,const char *);
--- 107,113 ----
long _lmsl(int,int,long);
long _lmsp(int,int,void *);
long _lmps(int,void *,int);
! long _lmCs(int,const char *,short);
long _lmpp(int,void *,void *);
long _lmCC(int,const char *,const char *);
***************
*** 118,123 ****
--- 118,124 ----
long _lmsll(int,int,int,long);
long _lmslp(int,int,long,void *);
long _lmspl(int,int,void *,long);
+ long _lmsCl(int,int,const char *,long);
long _lmspp(int,int,void *,void *);
long _lmspC(int,int,void *,const char *);
long _lmlss(int,long,int,int);
***************
*** 160,165 ****
--- 161,167 ----
#pragma inline d0=_lmlss((short),,(short),(short)) {register d2,a2; "4e41";}
#pragma inline d0=_lmslp((short),(short),,) {register d2,a2; "4e41";}
#pragma inline d0=_lmspl((short),(short),,) {register d2,a2; "4e41";}
+ #pragma inline d0=_lmsCl((short),(short),,) {register d2,a2; "4e41";}
#pragma inline d0=_lmspp((short),(short),,) {register d2,a2; "4e41";}
#pragma inline d0=_lmspC((short),(short),,) {register d2,a2; "4e41";}
#pragma inline d0=_lmlss((short),,(short),(short)) {register d2,a2; "4e41";}
diff -cr /src/mntinc32/setjmp.h ./setjmp.h
*** /src/mntinc32/setjmp.h Thu Jun 10 08:23:24 1993
--- ./setjmp.h Thu Jul 1 06:25:50 1993
***************
*** 32,41 ****
#ifdef _BSD_SOURCE
/* BUG: we lose if _BSD_SOURCE && __STRICT_ANSI__ */
! #define _setjmp(_jb) (sigsetjmp((sigjmp_buf) _jb, 0))
! #define _longjmp(_jb) (siglongjmp((sigjmp_buf) _jb))
! #define setjmp(_jb) (sigsetjmp((sigjmp_buf) _jb, 1))
! #define longjmp(_jb) (siglongjmp((sigjmp_buf) _jb))
#endif /* _BSD_SOURCE */
#endif /* __STRICT_ANSI__ */
--- 32,41 ----
#ifdef _BSD_SOURCE
/* BUG: we lose if _BSD_SOURCE && __STRICT_ANSI__ */
! #define _setjmp(__jb) (sigsetjmp(__jb, 0))
! #define _longjmp(__jb,__v) (siglongjmp(__jb, __v))
! #define setjmp(__jb) (sigsetjmp(__jb, 1))
! #define longjmp(__jb,__v) (siglongjmp(__jb, __v))
#endif /* _BSD_SOURCE */
#endif /* __STRICT_ANSI__ */
diff -cr /src/mntinc32/signal.h ./signal.h
*** /src/mntinc32/signal.h Mon Jun 7 08:56:40 1993
--- ./signal.h Sat Jun 19 06:18:50 1993
***************
*** 56,61 ****
--- 56,65 ----
__EXTERN __Sigfunc signal __PROTO((int sig, __Sigfunc func));
__EXTERN int raise __PROTO((int sig));
+ __EXTERN int kill __PROTO((int, int));
+ #ifndef _POSIX_SOURCE
+ __EXTERN int killpg __PROTO((int, int));
+ #endif /* _POSIX_SOURCE */
#ifdef __MINT__
# ifndef __STRICT_ANSI__
diff -cr /src/mntinc32/stat.h ./stat.h
*** /src/mntinc32/stat.h Tue Jun 8 10:21:24 1993
--- ./stat.h Tue Jun 22 03:09:50 1993
***************
*** 14,20 ****
#endif
struct stat {
! u_short st_mode;
ino_t st_ino; /* must be 32 bits */
dev_t st_dev; /* must be 16 bits */
short st_rdev; /* not supported by the kernel */
--- 14,20 ----
#endif
struct stat {
! mode_t st_mode;
ino_t st_ino; /* must be 32 bits */
dev_t st_dev; /* must be 16 bits */
short st_rdev; /* not supported by the kernel */
diff -cr /src/mntinc32/stdio.h ./stdio.h
*** /src/mntinc32/stdio.h Sun Jun 6 07:23:56 1993
--- ./stdio.h Tue Jul 6 04:04:52 1993
***************
*** 78,85 ****
--- 78,89 ----
/* object of type capable of recording uniquely every position in a file */
typedef unsigned long fpos_t;
+ /* lengths of various things */
#define L_ctermid 128
#define L_tmpnam 128
+ #ifdef _SYSV_SOURCE
+ #define L_cuserid 80
+ #endif /* _SYSV_SOURCE */
#define TMP_MAX 100
extern FILE _iob[];
***************
*** 99,104 ****
--- 103,111 ----
/* function definitions */
__EXTERN char * ctermid __PROTO((char *));
+ #ifdef _SYSV_SOURCE
+ __EXTERN char * cuserid __PROTO((char *));
+ #endif /* _SYSV_SOURCE */
__EXTERN int remove __PROTO((const char *));
__EXTERN int rename __PROTO((const char *, const char *));
***************
*** 118,128 ****
__EXTERN int fscanf __PROTO((FILE *, const char *, char *));
__EXTERN int scanf __PROTO((const char *, char *));
__EXTERN int sscanf __PROTO((const char *, const char *, int));
! #else
__EXTERN int fscanf __PROTO((FILE *, const char *, ...));
__EXTERN int scanf __PROTO((const char *, ...));
__EXTERN int sscanf __PROTO((const char *, const char *, ...));
! #endif
__EXTERN int fprintf __PROTO((FILE *, const char *, ...));
__EXTERN int printf __PROTO((const char *, ...));
--- 125,135 ----
__EXTERN int fscanf __PROTO((FILE *, const char *, char *));